package com.iplant.mes.service.po.andon.productData;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 订单尾工序信息
 *
 * @author YouWang·Peng
 * 2024-4-19 15:18:39
 */
public class AndonOrderLastPartPointInfo {
    /**
     * 订单ID
     */
    public int OrderID = 0;
    /**
     * 尾工序ID
     */
    public int LastPartPointID = 0;
    /**
     * 产出类型
     */
    public int ComponentType = 0;
    /**
     * 换算比例（正整数）
     */
    public int Proportion = 0;

    public AndonOrderLastPartPointInfo() {
    }

    public AndonOrderLastPartPointInfo(int orderID, int lastPartPointID, int componentType, int proportion) {
        OrderID = orderID;
        LastPartPointID = lastPartPointID;
        ComponentType = componentType;
        Proportion = proportion;
    }

    @JsonProperty("OrderID")
    public int getOrderID() {
        return OrderID;
    }

    public void setOrderID(int orderID) {
        OrderID = orderID;
    }

    @JsonProperty("LastPartPointID")
    public int getLastPartPointID() {
        return LastPartPointID;
    }

    public void setLastPartPointID(int lastPartPointID) {
        LastPartPointID = lastPartPointID;
    }

    @JsonProperty("ComponentType")
    public int getComponentType() {
        return ComponentType;
    }

    public void setComponentType(int componentType) {
        ComponentType = componentType;
    }

    @JsonProperty("Proportion")
    public int getProportion() {
        return Proportion;
    }

    public void setProportion(int proportion) {
        Proportion = proportion;
    }
}
